8d465609682cfafb6e308c4f5cb5298aa1acf810,clc/modules/reporting/src/main/java/com/eucalyptus/reporting/art/generator/InstanceArtGenerator.java,InstanceArtGenerator,updateUsageTotals,#UsageTotalsArtEntity#InstanceArtEntity#,366
Before Change
/* Update total running time and type count for this instance type */
final Map<String,InstanceUsageArtEntity> typeTotals = totals.getTypeTotals();
if (!typeTotals.containsKey(instance.getInstanceType())) {
typeTotals.put(instance.getInstanceType(), new InstanceUsageArtEntity());
}
final InstanceUsageArtEntity typeTotal =
After Change
/* Update total running time and type count for this instance type */
Map<String,InstanceUsageArtEntity> typeTotals = totals.getTypeTotals();
if (!typeTotals.containsKey(instance.getInstanceType().toLowerCase())) {
typeTotals.put(instance.getInstanceType().toLowerCase(),
new InstanceUsageArtEntity());
}